#ifndef USRLIB_H_
#define USRLIB_H_
#include </usr/include/mysql/mysql.h>

class USRLIB
{
	public:
		USRLIB();
		~USRLIB();
		int add_usr(const char* name, const char* pwd);
		bool if_exist(const char* name);
		int log_in(const char* name, const char* pwd);

	private:
		MYSQL *db;
};

#endif
